"""
文本 枚举类
"""

from utils.enum.base import XTextChoices

__all__ = [
    "DocFormat",  # ->              文档正文格式 枚举类
    "PrettyTableTextAlign",  # ->   PrettyTable 文本对齐方式 枚举类
]


class PrettyTableTextAlign(XTextChoices):
    """ PrettyTable 文本对齐方式 枚举类 """

    LEFT = "l", "左对齐"
    RIGHT = "r", "右对齐"
    CENTER = "c", "居中对齐"


class DocFormat(XTextChoices):
    """ 文档正文格式 枚举类 """

    LAKE = "lake", "语雀文档"
    LAKE_BOARD = "lakeboard", "语雀画板"  # noqa
    LAKE_MIND = "lakemind", "语雀画板"  # noqa
    LAKE_TABLE = "lakeTable", "语雀数据表"
    LAKE_SHEET = "lakesheet", "语雀表格"  # noqa
    LAKE_BOOK = "lakebook", "语雀知识库"  # noqa
    MARKDOWN = "markdown", "Markdown"
